import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import "./plugins/element.js";
import "@/assets/css/global.css";
import "@/svgIcon/index.js";
import { formatTime, formateDate } from "./utils/time";
Vue.config.productionTip = false;

Vue.directive("title", function(el, binding) {
  document.title = el.dataset.title;
});

Vue.filter("format", formatTime);
Vue.filter("formateDate", formateDate);

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
